"""
本章节研究的是：template语法

"""
from  flask import Blueprint,render_template

template_blue=Blueprint("template", __name__)


@template_blue.route("/template-home/")
def templat_home():
    data={
      "name":"bird",
      "age":26,
      "likes":["ball","sing","dance","code"]
   }
    # **data的意思 是将所有的数据传进去
    return render_template("template-home.html",**data)